import { Field, Int, ObjectType } from "@nestjs/graphql";
import { Profile } from "@prisma/client";



@ObjectType()
export class ProfileEntity implements Profile {
    @Field(() => Int)
    id: number;

    @Field()
    phone: string;

    @Field()
    password: string;

    @Field(() => Int)
    studentId: number;
}